-
Home
-
WooCommerce Attribute Stock – Shared Stock & Variable Quantities (Lite Version)
-
1.8.0
-
Code
-
Classes
- AttributeStock
Total Complexity |
49 |
Dependencies |
2 |
Dependents |
22 |
Total lines |
326 |
Lines of code |
141 |
Logical lines of code |
75 |
Comment lines |
80 |
Methods |
27 |
Properties |
2 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
formatted_quantity() |
S |
55 |
5 |
17 |
low_stock() |
S |
61 |
4 |
12 |
set_low_stock() |
S |
63 |
4 |
11 |
duplicate() |
S |
60 |
3 |
12 |
set_quantity() |
S |
66 |
3 |
9 |
set_enabled() |
S |
79 |
2 |
3 |
products() |
S |
75 |
2 |
4 |
quantity() |
S |
69 |
2 |
7 |
adjust_quantity() |
S |
67 |
2 |
8 |
product_types() |
S |
75 |
2 |
4 |
exclude_products() |
S |
75 |
2 |
4 |
exclude_categories() |
S |
75 |
2 |
4 |
categories() |
S |
75 |
2 |
4 |
set_exclude_categories() |
S |
79 |
1 |
3 |
set_categories() |
S |
79 |
1 |
3 |
set_product_types() |
S |
80 |
1 |
3 |
set_exclude_products() |
S |
79 |
1 |
3 |
enabled() |
S |
80 |
1 |
3 |
set_products() |
S |
79 |
1 |
3 |
set_match_all() |
S |
79 |
1 |
3 |
set_limit_products() |
S |
79 |
1 |
3 |
limit_products() |
S |
80 |
1 |
3 |
set_notes() |
S |
79 |
1 |
3 |
notes() |
S |
80 |
1 |
3 |
set_sku() |
S |
80 |
1 |
3 |
sku() |
S |
80 |
1 |
3 |
match_all() |
S |
80 |
1 |
3 |